﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;
using UserService.DataAccessService;

namespace UserService
{
    [ServiceContract]
    interface IUserService
    {
        [OperationContract]
        User GetById(int id);

        [OperationContract]
        User GetByLogin(string login);

        [OperationContract]
        void Add(User user);

        [OperationContract]
        User GetByMessageId(int id);
    }
}
